import request from '@/utils/request'
//评审资源信息接口
export function expertsReviewResourceQuery(data) {
  //分页列表
  return request({
    method: 'get',
    url: '/expertsReviewResource/query',
    params: data,
  })
}

export function expertsReviewResourceQueryById(id) {
  //查询
  return request({
    method: 'get',
    url: '/expertsReviewResource/query/' + id,
  })
}

export function expertsReviewResourceAdd(data) {
  //添加
  return request({
    method: 'post',
    url: '/expertsReviewResource/add',
    data,
  })
}

export function expertsReviewResourceDelete(id) {
  //删除
  return request({
    method: 'get',
    url: '/expertsReviewResource/delete/' + id,
  })
}

export function expertsReviewResourceUpdate(data) {
  //修改
  return request({
    method: 'post',
    url: '/expertsReviewResource/update',
    data,
  })
}

export function expertsReviewResourceSetLeader(data) {
  //修改
  return request({
    method: 'post',
    url: '/expertsReviewResource/setLeader',
    data,
  })
}
